3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next
QuickDraw 3D provides routines that you can use to create and manipulate ellipses. See "Ellipses" for the definition of an ellipse.
You can use the Q3Ellipse_New function to create a new ellipse.
TQ3GeometryObject Q3Ellipse_New (
const TQ3EllipseData *ellipseData);
You can use the Q3Ellipse_Submit function to submit an immediate ellipse for drawing, picking, bounding, or writing.
TQ3Status Q3Ellipse_Submit (
const TQ3EllipseData *ellipseData,
TQ3ViewObject view);
The Q3Ellipse_Submit function submits for drawing, picking, bounding, or writing the immediate ellipse whose shape and attribute set are specified by the ellipseData parameter. The ellipse is drawn, picked, bounded, or written according to the view characteristics specified in the view parameter.
You can use the Q3Ellipse_GetData function to get the data that defines an ellipse and its attributes.
TQ3Status Q3Ellipse_GetData (
TQ3GeometryObject ellipse,
TQ3EllipseData *ellipseData);
You can use the Q3Ellipse_SetData function to set the data that defines an ellipse and its attributes.
TQ3Status Q3Ellipse_SetData (
TQ3GeometryObject ellipse,
const TQ3EllipseData *ellipseData);
You can use the Q3Ellipse_EmptyData function to release the memory occupied by the data structure returned by a previous call to Q3Ellipse_GetData .
TQ3Status Q3Ellipse_EmptyData (TQ3EllipseData *ellipseData);
You can use the Q3Ellipse_GetOrigin function to get the origin of an ellipse.
TQ3Status Q3Ellipse_GetOrigin (
TQ3GeometryObject ellipse,
TQ3Point3D *origin);
You can use the Q3Ellipse_SetOrigin function to set the origin of an ellipse.
TQ3Status Q3Ellipse_SetOrigin (
TQ3GeometryObject ellipse,
const TQ3Point3D *origin);
You can use the Q3Ellipse_GetMajorRadius function to get the major radius of an ellipse.
TQ3Status Q3Ellipse_GetMajorRadius (
TQ3GeometryObject ellipse,
TQ3Vector3D *majorRadius);
You can use the Q3Ellipse_SetMajorRadius function to set the major radius of an ellipse.
TQ3Status Q3Ellipse_SetMajorRadius (
TQ3GeometryObject ellipse,
const TQ3Vector3D *majorRadius);
You can use the Q3Ellipse_GetMinorRadius function to get the minor radius of an ellipse.
TQ3Status Q3Ellipse_GetMinorRadius (
TQ3GeometryObject ellipse,
TQ3Vector3D *minorRadius);
You can use the Q3Ellipse_SetMinorRadius function to set the minor radius of an ellipse.
TQ3Status Q3Ellipse_SetMinorRadius (
TQ3GeometryObject ellipse,
const TQ3Vector3D *minorRadius);
Previous | QD3D Book | Overview | Chapter Contents | Next